package com.ysl.service;

import com.ysl.bean.Condition;
import com.ysl.bean.PageBean;
import com.ysl.bean.UserDemo;

public interface UserService {
    boolean addUser(UserDemo user) throws Exception;
    boolean delUser(int id) throws Exception;
    PageBean findUsers(Condition condition, Integer p)throws Exception;
    boolean findUser(String username,String userpwd) throws Exception;
    UserDemo findUserId(int id) throws Exception;
    boolean modif(UserDemo user) throws Exception;
    boolean findUsername(String username) throws Exception;
}
